package com.chenxi.vhr.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName vhr_salary
 */
@TableName(value ="vhr_salary")
@Data
public class VhrSalary implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 基本工资
     */
    @TableField(value = "basic_salary")
    private Integer basicSalary;

    /**
     * 奖金
     */
    @TableField(value = "bonus")
    private Integer bonus;

    /**
     * 午餐补助
     */
    @TableField(value = "lunch_subsidy")
    private Integer lunchSubsidy;

    /**
     * 交通补助
     */
    @TableField(value = "traffic_subsidy")
    private Integer trafficSubsidy;

    /**
     * 应发工资
     */
    @TableField(value = "all_salary")
    private Integer allSalary;

    /**
     * 养老金基数
     */
    @TableField(value = "pension_base")
    private Integer pensionBase;

    /**
     * 养老金比率
     */
    @TableField(value = "pension_per")
    private Double pensionPer;

    /**
     * 启用时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @TableField(value = "create_date")
    private Date createDate;

    /**
     * 医疗基数
     */
    @TableField(value = "medical_base")
    private Integer medicalBase;

    /**
     * 医疗保险比率
     */
    @TableField(value = "medical_per")
    private Double medicalPer;

    /**
     * 公积金基数
     */
    @TableField(value = "accumulation_fund_base")
    private Integer accumulationFundBase;

    /**
     * 公积金比率
     */
    @TableField(value = "accumulation_fund_per")
    private Double accumulationFundPer;

    /**
     * 
     */
    @TableField(value = "name")
    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}